Carbon


GetWindowContentPattern

Header: MacWindows.h Carbon status: Supported

Obtains the pattern to which a window’s content region is redrawn.

OSStatus GetWindowContentPattern (
    WindowRef window, 
    PixPatHandle outPixPat
);
Parameter descriptions
window

A pointer to the window whose content pattern is being retrieved.

outPixPat

On input, a handle to a structure of type PixPat. On return, the structure contains a copy of the content pattern data for the specified window, which your application is responsible for disposing.

function result

A result code.

DISCUSSION

The GetWindowContentPattern function obtains the pattern to which the window’s content region is redrawn.

See also the function SetWindowContentPattern.

VERSION NOTES

This function is available with Mac OS 8.5 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)